package top.szhome.develop.service;

import top.szhome.framework.starter.db.support.SimpleService;
import top.szhome.develop.convert.ModelConverter;
import top.szhome.develop.entity.Model;
import top.szhome.develop.dto.ModelDTO;
import top.szhome.develop.qry.ModelQry;
import top.szhome.develop.vo.ModelVO;

import java.util.List;

/**
 * 模型服务定义
 *
 * @author 唐加利
 * @date 2023/08/21
 **/
public interface ModelService extends SimpleService<ModelConverter, ModelDTO, Model, ModelVO> {

    /**
     * 根据数据源获取模型集合
     * @param datasourceId
     * @return
     */
    List<Model> getByDatasource(Long datasourceId);

}
